package modelo;

public class Convertir{
	
	public static double mX_a_X(double miliX){
		return miliX / 1000.0;
	}
	
	public static double X_a_mX(double X){
		return X * 1000.0;
	}
	
	public static double M_a_KM(double M){
		return M / 1000.0;
	}
	
	public static double KM_a_M(double M){
		return M * 1000.0;
	}
	
	public static double KMh_a_Ms(double KMH){
		return KMH / 3.6;
	}
	
	public static double Ms_a_KMh(double KMH){
		return KMH * 3.6;
	}
}
